<form action="<?php echo url_for('@login'); ?>" method="post">
    <table width="45%" cellpadding="2" cellspacing="1" style="float:left;">
        <tr class="heading">
            <td  colspan="2">
                Sign In / Login Form
            </td>
        </tr>
        <tfoot>
          <tr>
            <td colspan="2">
              <?php echo $form->renderHiddenFields(false) ?>
              &nbsp;
              <input type="submit" value="Sign In" />
            </td>
          </tr>
        </tfoot>
        <tbody>
            <?php                  
                  if ($sf_user->hasFlash('error'))
                  {
            ?>
            <tr>
                <td colspan="2">
                    <?php echo $sf_user->getFlash('error'); ?>
                </td>
            </tr>
            <?php
                  }
            ?>
            <?php
                echo $form;
            ?>
        </tbody>
    </table>
</form>